<span ng-mouseleave="reset()">
  <i ng-repeat="r in range" ng-mouseenter="enter($index + 1)" ng-click="rate($index + 1)" class="fa"
    ng-class="$index < val && (r.stateOn || 'fa-star') || (r.stateOff || 'fa-star-o')"></i>
</span>
